import { defineComponent, markRaw, toRaw, reactive } from 'vue';
let Component = defineComponent({
    template: `<a @click="open('./port.html','_blank','width=500,height=600,location=no')" :title="$t('串口监视器')" style="margin:0 5px;"><icon type="md-pulse" size="25"></icon></a>`,
    methods: {
        open(url, target, attrs) {
            var popup = window.open(url, target, attrs);
            popup.focus();
        }
    }
});
OpenBlock.onInited(() => {
    OB_IDE.addToolbarItem(
        { component: Component, index: 5000, name: 'addScene' }
    );
});